package com.neo.demo2.mapper;

import com.neo.demo2.domain.Category;

import java.util.List;

/**
 * @Author: chenb
 * @CreateTime: 2024/3/20 13:33
 * @Description:
 */
public interface CategoryMapper {

  int insert(Category category);


  List<Category> getAll();

  Category findById(Long id);

  void update(Category category);

  void updatedel(Category category);


  void delete(Long categoryId);
}
